import Vue from 'vue'
import {
    Row,
    Col,
    Message,
    Loading,
    Button,
    Select,
    Option,
    Table,
    TableColumn,
    Pagination,
    Dropdown,
    DropdownMenu,
    DropdownItem,
    Checkbox,
    CheckboxGroup,
    DatePicker
} from 'element-ui'

Vue.use(Row)
Vue.use(Col)
Vue.use(Button)
Vue.use(Select)
Vue.use(Option)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Pagination)
Vue.use(Dropdown)
Vue.use(DropdownMenu)
Vue.use(DropdownItem)
Vue.use(Checkbox)
Vue.use(CheckboxGroup)
Vue.use(DatePicker)

Vue.use(Loading.directive);
Vue.prototype.$loading = Loading.service;
Vue.prototype.$message = Message;

